<?php 

class Event_CallCenterForm extends Crud_Event_Handler 
{
	protected $_type = 'form';
	
	/**
	 * Run handler with options array.
	 * 
	 * @param Crud_Form $form
	 * @return void
	 */
	public function run($form)
	{		
		$copy = $this->_getParam('copy');
		if($copy){
			$form->getElement('operator_id')->setRequired(0);
		}
	}
}